<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <!-- 修改页面标题 -->
    <title>工作提醒-回访管理</title>
    <link rel="stylesheet" href="../common/css/reset.css" />
    <link rel="stylesheet" href="../common/css/element-ui.css" />
    <link rel="stylesheet" href="../common/css/common.css" />
    <link rel="stylesheet" href="./css/index.css" />
  </head>
  <body>
    <div id="app" class="page-container" v-cloak>
      <div class="page-content">
        <el-row :gutter="10">
          <!-- 页面标题 -->
          <el-col :span="24">
            <div class="panel-title">工作提醒-客户回访周期配置</div>
          </el-col>
        </el-row>
        <div class="panel-container">
          <el-row :gutter="10">
            <el-col :span="24">
              <div class="form-header">
                <div class="th">会员等级</div>
                <div class="th">回访周期</div>
              </div>
              <el-form
                :model="form"
                size="mini"
                :rules="rules"
                label-width="100px"
                ref="form"
              >
                <el-form-item
                  v-for="(item, index) in memberList"
                  :key="item"
                  :label="item"
                  :prop="'follow['+ index + ']'"
                >
                  <el-select v-model="form.follow[index]" placeholder="请选择">
                    <el-option label="每7天回访一次" :value="1"></el-option>
                    <el-option label="每10天回访一次" :value="2"></el-option>
                    <el-option label="每15天回访一次" :value="3"></el-option>
                    <el-option label="每20天回访一次" :value="4"></el-option>
                    <el-option label="每25天回访一次" :value="5"></el-option>
                    <el-option label="每30天回访一次" :value="6"></el-option>
                  </el-select>
                </el-form-item>
                <el-form-item prop="name">
                  <el-button type="primary" @click="handleSubmit"
                    >保存</el-button
                  >
                </el-form-item>
              </el-form>
            </el-col>
          </el-row>
        </div>
      </div>
    </div>
    <script src="../common/js/vue.min.js"></script>
    <script src="../common/js/element-ui.js"></script>
    <script src="./js/ajax.js"></script>
    <script src="./js/index.js"></script>
  </body>
</html>
